package com.github.xuemingyu.springboot.acticitycloud.common;

import java.util.ArrayList;
import java.util.List;

/**
 * \* Created with IntelliJ IDEA.
 * \* User: xmy
 * \* Date: 2019/1/28
 * \* Time: 18:28
 * \
 */
public class Common {
    public static List<Long> getIdList(String ids){
        String[] idArry = ids.split(",");
        List<Long> list = new ArrayList<>();
        for (String s:idArry){
            list.add(Long.valueOf(s));
        }
        return list;
    }
}
